package com.base.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/admin")
public class AdminHuibodianhuaController {
	// 电话回拨页面
	@RequestMapping("/adminHuibodianhua")
	public ModelAndView queryItems(HttpServletRequest request) throws Exception {
		// 返回ModelAndView
		ModelAndView modelAndView = new ModelAndView();
		if (request.getSession().getAttribute("adminUserId") == null) {
			modelAndView.setViewName("jsp/login");
			return modelAndView;
		}

		modelAndView.setViewName("jsp/admin_huibodianhua");
		return modelAndView;
	}
}
